package com.live.dengdengtv.net.callback;

import android.util.Log;

import com.live.dengdengtv.bean.SimpleInfoData;

import okhttp3.Call;
import okhttp3.Request;

/**
 * Created by wyf on 2016/9/17.
 */
public class AbstractRequestBack implements RequestNetCallback{
    @Override
    public void onBefore(Request request, int id) {

    }

    @Override
    public void onAfter(int id) {

    }

    @Override
    public void inProgress(float progress, long total, int id) {

    }

    @Override
    public void onError(Call call, Exception e, int id) {

    }

    @Override
    public boolean onResponse(SimpleInfoData response, int id) {
        Log.e("AbstractRequestResponse", response.toString());
        return false;
    }
}
